package org.jash.learnmvp.video;

import org.jash.learnmvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;

public class ConStruct {
    public interface IVideoModel {
        Observable<VideoEntity> getAllVideo();
    }

    public interface IVideoPresenter {
        void loadAllVideo();
    }

    public interface IVideoView {
        void videoSuccess(List<VideoEntity.DataBean> list);
        void videoFailure(Throwable t);
    }
}
